package cn.yuyiling.jelly.qa.dto;

import cn.yuyiling.jelly.qa.mongodb.entity.Answer;
import cn.yuyiling.jelly.qa.mongodb.entity.Comment;
import cn.yuyiling.jelly.qa.mongodb.entity.Question;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuestionDetails implements Serializable {
    private Question question;
    private List<Answer> answers;
    private List<Comment> comments;
}